package com.hx.order.service;


import com.hx.common.result.PageResult;
import com.hx.order.pojo.Item;

import java.util.*;

/**
 * item业务逻辑层
 */
public interface ItemService {


    public List<Item> findAll();


    public PageResult<Item> findPage(int page, int size);


    public List<Item> findList(Map<String,Object> searchMap);


    public PageResult<Item> findPage(Map<String,Object> searchMap,int page, int size);


    public Item findById(Long id);

    public void add(Item item);


    public void update(Item item);


    public void delete(Long id);

}
